<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layuiAdmin 管理员 iframe 框</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${pageContext.request.contextPath }/back/layui/css/layui.css" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
<form action="${pageContext.request.contextPath }/RoomTypeController/addRoomType" method="post">

    <div class="layui-form-item">
      <label class="layui-form-label">房间类型</label>
      <div class="layui-input-inline">
        <input type="text" name="rtName" id="rtName" lay-verify="required" placeholder="请输入房间类型" autocomplete="off" class="layui-input">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">床位</label>
      <div class="layui-input-inline">
        <input type="text" name="rtBed" id="rtBed" lay-verify="required" placeholder="请输入床位" autocomplete="off" class="layui-input">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">价格</label>
      <div class="layui-input-inline">
        <input type="text" name="rtPrice" id="rtPrice" lay-verify="required" placeholder="请输入价格" autocomplete="off" class="layui-input">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">押金</label>
      <div class="layui-input-inline">
        <input type="text" name="rtForegift" id="rtForegift" lay-verify="required" placeholder="请输入押金" autocomplete="off" class="layui-input">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">是否钟点房</label>
      <div class="layui-input-inline">
        <select name="rtClRoom" lay-verify="required"id="rtClRoom">
              	<option value="">请选择</option>
                <option value="2">否</option>
                <option value="1">是</option>
              </select>
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">钟点房价格</label>
      <div class="layui-input-inline">
        <input type="text" name="rtClPrice" id="rtClPrice" placeholder="请输入钟点房价格" autocomplete="off" class="layui-input" value="0.0">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">备注</label>
      <div class="layui-input-block">
        <textarea type="text" name="rtRemark" id="rtRemark" autocomplete="off" class="layui-textarea"></textarea>
      </div>
    </div>

    <div class="layui-form-item layui-hide">
      <input type="submit" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-back-submit" value="确认">
    </div>
</form>
  </div>
  <script src="${pageContext.request.contextPath }/back/layui/layui.js"></script>
  <script>
  layui.config({
    base: '${pageContext.request.contextPath }/back/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
    ,form = layui.form ;
  })
  </script>
</body>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript">
</script>
</html>